<template>
<button v-if="err" :title="$t(err)" class="et-err-btn" v-tippy>
  <et-icon :name="icon" />
</button>
</template>

<script>
import { EtIcon } from '../../widgets';

export default {

  components: {
    EtIcon
  },

  props: {
    err: {
      type: String
    },
    icon: {
      type: String,
      default: 'delete'
    }
  }

};
</script>
